<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
	<script type="text/javascript" src="../assets/js/Tv_Arte_Render.js"></script>
	<script type="text/javascript">/*<![CDATA[*/Tv_Arte_Render.initialize();/*]]>*/</script>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
	<link type="text/css" rel="stylesheet" media="all" href="../assets/css/render-reset.css"/>
	<link type="text/css" rel="stylesheet" media="all" href="../assets/css/render-style.css"/>
</head>
<body>
<div id="wrapper">
	<div id="container">
		<!-- begin current -->
		<a href="<?php echo $this->xml['urlExtra_' . $this->lang]; ?>">
			<img src="<?php echo $this->xml['logo']; ?>" class="logo" alt="<?php echo $this->current['title'] ?>" title="<?php echo $this->current['title']; ?>" />
		</a>
		<!-- end current -->
		
		<?php if ($this->showSocial) : ?>
		<a class="facebook" href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(window.parent.location.href)+'&amp;t='+encodeURIComponent(''),'facebook','toolbar=0,status=0,width=900,height=626');void(0);"></a>
		<a class="twitter" href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(window.parent.location.href),'twitter','toolbar=0,status=0,width=626,height=436');void(0);"></a>
		<?php endif; ?>

		<?php if ($this->showLogin) : ?>
		<!-- begin login -->
		<form action="/" id="loginForm" name="loginForm">
			<div><input type="text" value="Login" id="login" name="login" /></div>
			<div><input type="password" value="Password" id="password" name="password" /></div>
			<div><input type="submit" value="Login" id="submitButton" name="submitButton" /></div>
		</form>
		<!-- end login -->
		<?php endif; ?>
		
		<?php if ($this->showLang) : ?>
		<!-- begin languages -->
		<ul id="lang">
		    <?php if (isset($this->langs['en']) && strlen($this->xml['url_en']) > 0) : ?>
			<li><a target="_top"<?php echo ("en" == $this->lang ? ' class="selected"' : '') ?> href="<?php echo $this->xml['url_en']; ?>" title="<?php echo "" ?>"><?php echo $this->langs['en']['label']; ?></a></li>
			<?php endif; ?>
			<?php if (isset($this->langs['de']) && strlen($this->xml['url_de']) > 0) : ?>
			<li><a target="_top"<?php echo ("de" == $this->lang ? ' class="selected"' : '') ?> href="<?php echo $this->xml['url_de']; ?>" title="<?php echo "" ?>"><?php echo $this->langs['de']['label']; ?></a></li>
			<?php endif; ?>
			<?php if (isset($this->langs['fr']) && strlen($this->xml['url_fr']) > 0) : ?>
			<li><a target="_top"<?php echo ("fr" == $this->lang ? ' class="selected"' : '') ?> href="<?php echo $this->xml['url_fr']; ?>" title="<?php echo "" ?>"><?php echo $this->langs['fr']['label']; ?></a></li>
			<?php endif; ?>
		</ul>
		<!-- end languages -->
		<?php endif; ?>
		
		<!-- begin sites -->
		<ul id="sites">
		<?php foreach ($this->config as $key => $value) : ?>
			<li><a target="_top"<?php echo (isset($value['selected']) ? ' class="selected"' : '') ?> href="<?php echo $value['url'] ?>" title="<?php echo $value['title'] ?>"><?php echo $value['label'] ?></a></li>
		<?php endforeach; ?>
		</ul>
		<!-- end sites -->
	</div>
	<div id="connectBox">
	</div>
</div>
</body>
</html>